using System;

namespace Infinity.Common.Logger
{
	/// <summary>
	/// Representation of log
	/// </summary>
	public class Log
	{
		public Log()
		{
			Message = string.Empty;
			LogType = LogType.Text;
		}

		public Log(string message, LogType logType = LogType.Text)
			: this()
		{
			Message = message;
			LogType = logType;
			Time = DateTime.Now;
		}

		public string Message { get; set; }
		public DateTime Time { get; set; }
		public LogType LogType { get; set; }
	}
}